<?php

class Catalogue_Table_Object_Category extends Workset_Db_Table {

	protected $_name = 't_object2category';

    protected $_primary = array('object_id', 'category_id');

    protected $_referenceMap = array(
        'category' => array(
            'columns' 		=> 'category_id',
            'refTableClass' => 'Catalogue_Table_Category',
            'refColumns' 	=> 'id'
        ),
        'object' => array(
            'columns' 		=> 'object_id',
            'refTableClass' => 'Catalogue_Table_Object',
            'refColumns' 	=> 'id'
        ),
    );

}

?>